import { postAxios, getAxios } from '@/utils/http'

export const nucleicApi = {
  nucleicList: (params) => {
    return postAxios('/epidemic/nucleic/list',params);
  },

  nucleicAdd: (data) => {
    return postAxios('/epidemic/nucleic/add',data);
  },

  nucleicUpdate: (data) => {
    return postAxios('/epidemic/nucleic/update', data);
  },

  nucleicDelete: (id) => {
    return getAxios('/epidemic/nucleic/delete',{id:id});
  },

  nucleicDisable: (id,isDisable) => {
    return getAxios('/epidemic/nucleic/disable',{id:id,isDisable:isDisable});
  },
};